BASEDIR=$HOME/Documents/todocker/redis

docker run -d --name redis-server \
  -p 6379:6379 \
        -v $BASEDIR/redis-data:/data \
  -v $BASEDIR/etc/redis.conf:/etc/redis/redis.conf \
  -v $BASEDIR/etc/users.acl:/etc/redis/users.acl \
  library/redis:latest redis-server /etc/redis/redis.conf --appendonly yes
